class PopResult{
  static const int ID_LOGIN = 1;
  static const int ID_OSC_OAUTH = 2;
  static const int ID_LOGOUT = 3;
  static const int ID_PICK_FRIEND = 4;
  static const int ID_PICK_TOPIC = 5;

  int id;
  bool success;
  Map<String, dynamic> extract;
  dynamic object;

  PopResult({this.id, this.success, this.extract, this.object});

  @override
  String toString() {
    return '{"id": "$id", "success": "$success", "extract": "$extract", "object": "$object"}';
  }

}